package org.ztr.yanai;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(scanBasePackages = "org.ztr.yanai")
@MapperScan("org.ztr.yanai.blog.mapper")
@EnableDiscoveryClient  // 启用服务注册与发现
public class YanAiApplication {

    public static void main(String[] args) {
        SpringApplication.run(YanAiApplication.class, args);
    }

}
